<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page isELIgnored="false" %>

<section id="topbar" class="d-none d-lg-block">
    <div class="container clearfix">
        <div class="contact-info float-left">
            <span class="white"></span>
        </div>
        <div class="social-links float-right line-30">
            <c:if test="${sessionScope.user==null}">
                <a href="${contextPath}/userlog.jsp" class="twitter">登录</a><font color="#FFFFFF">|</font><a href="${contextPath}/usersAddQian.jsp" class="twitter">注册</a><%--|</font><a href="yonghuadd.jsp"
                                                                                             class="twitter">注册</a>--%>
            </c:if>
            <c:if test="${sessionScope.user!=null}">
                <font color="#FFFFFF">${sessionScope.user.loginname},[${sessionScope.user.typename}]&nbsp;</font> <a
                    href="${contextPath}/userlogout.jsp" onclick="return confirm('确定要退出？')">退出</a><a href="${contextPath}/main.jsp">个人中心</a>
            </c:if>
        </div>
    </div>
</section>

<header id="header">
    <div class="container">
        <div id="logo" class="pull-left">
            <h1><a href="index.jsp" class="scrollto">
                <%--<img src="./qtimages/images/logo.png" alt="" width="60">--%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;航空订票管理系统</br>
            </a></h1>
        </div>
        <nav id="nav-menu-container">
            <ul class='nav-menu'>
                <li class='menu-active'><a href='${contextPath}/default.jsp'>首页</a></li>

                <li><a href='${contextPath}/dxManaQian'>介绍</a></li>

                <li><a href='${contextPath}/gonggaoManaQiantp'>票务公告</a></li>


              <li><a href='${contextPath}/banciManaQian'>班次</a></li>


              <li><a href='${contextPath}/zixunManaQiantp'>新闻资讯</a></li>

              <%--<li class='menu-has-children'><a href=''>热销排行</a>
                    <ul>
                        <li><a href='shangpinManaQianSort'>热销排行</a></li>
                    </ul>
                </li>--%>

                <li class='menu-has-children'><a href=''>留言</a>
                    <ul>
                        <li><a href='${contextPath}/liuyanAddQian.jsp'>我要留言</a></li>
                        <li><a href='${contextPath}/liuyanManaQian'>查看留言</a></li>

                    </ul>
                </li>
                <li><a href='${contextPath}/login.jsp'>后台管理</a></li>
            </ul>
        </nav>
    </div>
</header>
